Run Program Action
•Example: Using the Run Program Action (CAD)
•Graphical Action Designer: Run Program Quick Action
About the Run Program Action
The Run Program action enables users to run a scheduled or unscheduled script to a remote data source.
Parameters
Parameter | Description |
---|---|
Enter action name | A unique name for the action. |
Enter action description | Optional. A description of what the action does. |
Enter category | Optional. The category. Select from the drop-down list. |
Connection | The defined connection. See Using the Run Program for the Remote Host. |
Program with Path |
The full path to the server, including the name of the batch file. For example: \\MainServer\reports\reportprovisioning.exe.
NOTE: You must have access to the server. |
Arguments |
The parameters to pass. You can have a parameter with a current context expression. For example, to pass the current category, enter an expression into this field. |
Wait for the program to finish |
Runs the program completely before returning to the page (synchronous). This field is not selected by default, which means that the page appears immediately without waiting for the program to finish (asynchronous). If using asynchronous execution, disable the Output Field parameter below. |
Show program output in message box | Shows the output in a message box. |
Output Field |
Only use this field if you checked Wait for the program to finish.
Specifies the field name to populate with the return value after running the program. Disable this field if the program execution is asynchronous (that is, if you did not check Wait for the program to finish). |
Actions
Button | Action |
---|---|
Save | Commits your settings. |
Cancel | Exits without saving. |